/* Copyright 2012 Dorival de Moraes Pedroso. All rights reserved.
   Use of this source code is governed by a BSD-style
   license that can be found in the LICENSE file. */

#ifndef CONNECTGEMLAB_H
#define CONNECTGEMLAB_H

#ifdef __cplusplus
extern "C" {
#endif

int umeshgen(char const *fn, long quad, long ndim, long nparts, long pfull,
        double globalmax,
        long *tags,  double *maxs, long nsef, long *sftags,
        long nreg,   double *regs,
        long nhol,   double *hols,
        long npts,   double *pts,
        long *nconn, long   *conn,
        long nle,
        long *le_rtags, long   *le_jtags,  long   *le_quads,
        long le_npts,   double *le_pts,
        long *le_nconn, long   *le_conn,   long   *le_btags,
        long nvt,
        long *vt_tags,  double *vt_coords, double *vt_tols);

int smeshgen(char const *fn, long quad, long ndim, long nparts, long pfull,
        long   nreg,   long   *tags,
        long   *nxs,   long   *nys,  long   *nzs,
        double *axs,   double *ays,  double *azs,
        long   *nlx,   long   *nly,  long   *nlz,
        long   npts,   double *pts,
        long   *nconn, long   *conn, long   *btags,
        long   nle,
        long   *le_rtags, long   *le_jtags,  long   *le_quads,
        long   le_npts,   double *le_pts,
        long   *le_nconn, long   *le_conn,   long   *le_btags,
        long   nvt,
        long   *vt_tags,  double *vt_coords, double *vt_tols);

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif // CONNECTGEMLAB_H
